package com.ls.lserp.modules.order.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.ls.lserp.common.persistence.DataEntity;
import com.ls.lserp.modules.common.entity.UploadFile;
import com.ls.lserp.modules.setting.entity.CompanyUser;

/**
 * @ClassName: SpecimenProduction
 * @Description: 样品生产实体类
 * 
 * @author
 * @date 2017年02月10日
 *
 */

public class SpecimenProduction extends DataEntity<SpecimenProduction> {

	/**
	 * 审批结果（0、不通过；1、通过）
	 */
	public static final String AUDIT_RESULT_NO = "0";

	/**
	 * 审批结果（0、不通过；1、通过）
	 */
	public static final String AUDIT_RESULT_YES = "1";

	//文件实体
	private UploadFile uploadFileEntity;
	
	// 样品需求单
	private String sampleRequestNo;
	// 款式图片
	private String uploadFile;
	// 款号
	private String styleNo;
	// 款式名称
	private String styleNameCn;
	// 款式类别
	private String styleCateGoryCd;
	// 样品类别
	private String sampleType;
	// 要求交期
	private Date samplePlanDueDate;
	// 样品生产状态
	private String sampleProductionStatus;
	// 检索开始时间
	private String dateFrom;
	// 检索结束时间
	private String dateTo;
	// tab页状态
	private int tabPageStatus;
	// 业务员id
	private String userId;
	// 款式尺寸
	private String sampleSize;
	// 样品数量
	private long sampleQuantity;
	// 返工数
	private long sampleReworkNum;
	// 样品成本
	private BigDecimal sampleCost;
	// 样板完成日
	private Date templateEndDate;
	// 样品生产员工id
	private Long sampleUserId;
	// 打板人
	private long makeId;
	// 样品完成日
	private Date sampleEndDate;
	// 样品生产人
	private long samId;
	// 物料费用
	private BigDecimal sampleMaterialCost;
	// 人工费用
	private BigDecimal sampleMandayCost;
	// 其他费用
	private BigDecimal sampleOtherCost;
	// 实际交期
	private Date sampleaAtualDueDate;
	// 打版人员全名
	private String templateUserName;
	// 打样人员会名
	private String sampleUserName;
	// 样板开始日
	private Date templateStartDate;
	// 样品开始日
	private Date sampleStartDate;
	// 制作样版工时
	private BigDecimal templateCostTime;
	// 制作样品工时
	private BigDecimal sampleCostTime;
	// 打版人员list
	private List<CompanyUser> templateUserList;
	// 打样人员list
	private List<CompanyUser> sampleUserList;
	// 履历阶段
	private String auditPhaseCd;
	// 样品备注
	private String sampleRemark;
	// 关联表id
	private long sampleId;
	// 样品需求单状态
	private String sampleRequestStatus;
	// 样品生产人
	private long oldSamId;
	// 款式id
	private long styleId;
	// 款式颜色
	private String styleColor;
	// 年份
	private String styleYear;
	// 尺码组 查询用
	private String styleStyleGroupCd;
	// 样式类别 查询用
	private String styleTemp;
	// 用户 查看用
	private String styleOgnizaitonTemp;
	// 款式备注 
	private String styleRemark;
	// 季节 查看用
	private String styleTempSeason;
	// 材料材料损耗数量
	private BigDecimal materialLoss;
	// 材料单价
	private BigDecimal materialUnitPrice;
	// 面料成分
	private String materialComposition;
	
	
	
	/**
	 * @return the sampleUserId
	 */
	public Long getSampleUserId() {
		return sampleUserId;
	}

	/**
	 * @param sampleUserId the sampleUserId to set
	 */
	public void setSampleUserId(Long sampleUserId) {
		this.sampleUserId = sampleUserId;
	}

	/**
	 * @return the uploadFileEntity
	 */
	public UploadFile getUploadFileEntity() {
		return uploadFileEntity;
	}

	/**
	 * @param uploadFileEntity the uploadFileEntity to set
	 */
	public void setUploadFileEntity(UploadFile uploadFileEntity) {
		this.uploadFileEntity = uploadFileEntity;
	}

	/**
	 * @return the materialComposition
	 */
	public String getMaterialComposition() {
		return materialComposition;
	}

	/**
	 * @param materialComposition the materialComposition to set
	 */
	public void setMaterialComposition(String materialComposition) {
		this.materialComposition = materialComposition;
	}

	/**
	 * @return the sampleRequestNo
	 */
	public String getSampleRequestNo() {
		return sampleRequestNo;
	}

	/**
	 * @param sampleRequestNo
	 *            the sampleRequestNo to set
	 */
	public void setSampleRequestNo(String sampleRequestNo) {
		this.sampleRequestNo = sampleRequestNo;
	}

	/**
	 * @return the uploadFile
	 */
	public String getUploadFile() {
		return uploadFile;
	}

	/**
	 * @param uploadFile
	 *            the uploadFile to set
	 */
	public void setUploadFile(String uploadFile) {
		this.uploadFile = uploadFile;
	}

	/**
	 * @return the styleNo
	 */
	public String getStyleNo() {
		return styleNo;
	}

	/**
	 * @param styleNo
	 *            the styleNo to set
	 */
	public void setStyleNo(String styleNo) {
		this.styleNo = styleNo;
	}

	/**
	 * @return the styleNameCn
	 */
	public String getStyleNameCn() {
		return styleNameCn;
	}

	/**
	 * @param styleNameCn
	 *            the styleNameCn to set
	 */
	public void setStyleNameCn(String styleNameCn) {
		this.styleNameCn = styleNameCn;
	}

	/**
	 * @return the styleCateGoryCd
	 */
	public String getStyleCateGoryCd() {
		return styleCateGoryCd;
	}

	/**
	 * @param styleCateGoryCd
	 *            the styleCateGoryCd to set
	 */
	public void setStyleCateGoryCd(String styleCateGoryCd) {
		this.styleCateGoryCd = styleCateGoryCd;
	}

	/**
	 * @return the sampleType
	 */
	public String getSampleType() {
		return sampleType;
	}

	/**
	 * @param sampleType
	 *            the sampleType to set
	 */
	public void setSampleType(String sampleType) {
		this.sampleType = sampleType;
	}

	/**
	 * @return the samplePlanDueDate
	 */
	public Date getSamplePlanDueDate() {
		return samplePlanDueDate;
	}

	/**
	 * @param samplePlanDueDate
	 *            the samplePlanDueDate to set
	 */
	public void setSamplePlanDueDate(Date samplePlanDueDate) {
		this.samplePlanDueDate = samplePlanDueDate;
	}

	/**
	 * @return the sampleProductionStatus
	 */
	public String getSampleProductionStatus() {
		return sampleProductionStatus;
	}

	/**
	 * @param sampleProductionStatus
	 *            the sampleProductionStatus to set
	 */
	public void setSampleProductionStatus(String sampleProductionStatus) {
		this.sampleProductionStatus = sampleProductionStatus;
	}

	/**
	 * @return the dateFrom
	 */
	public String getDateFrom() {
		return dateFrom;
	}

	/**
	 * @param dateFrom
	 *            the dateFrom to set
	 */
	public void setDateFrom(String dateFrom) {
		this.dateFrom = dateFrom;
	}

	/**
	 * @return the dateTo
	 */
	public String getDateTo() {
		return dateTo;
	}

	/**
	 * @param dateTo
	 *            the dateTo to set
	 */
	public void setDateTo(String dateTo) {
		this.dateTo = dateTo;
	}

	/**
	 * @return the tabPageStatus
	 */
	public int getTabPageStatus() {
		return tabPageStatus;
	}

	/**
	 * @param tabPageStatus
	 *            the tabPageStatus to set
	 */
	public void setTabPageStatus(int tabPageStatus) {
		this.tabPageStatus = tabPageStatus;
	}

	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}

	/**
	 * @param userId
	 *            the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * @return the sampleSize
	 */
	public String getSampleSize() {
		return sampleSize;
	}

	/**
	 * @param sampleSize
	 *            the sampleSize to set
	 */
	public void setSampleSize(String sampleSize) {
		this.sampleSize = sampleSize;
	}

	/**
	 * @return the sampleQuantity
	 */
	public long getSampleQuantity() {
		return sampleQuantity;
	}

	/**
	 * @param sampleQuantity
	 *            the sampleQuantity to set
	 */
	public void setSampleQuantity(long sampleQuantity) {
		this.sampleQuantity = sampleQuantity;
	}

	/**
	 * @return the sampleReworkNum
	 */
	public long getSampleReworkNum() {
		return sampleReworkNum;
	}

	/**
	 * @param sampleReworkNum
	 *            the sampleReworkNum to set
	 */
	public void setSampleReworkNum(long sampleReworkNum) {
		this.sampleReworkNum = sampleReworkNum;
	}

	/**
	 * @return the sampleCost
	 */
	public BigDecimal getSampleCost() {
		return sampleCost;
	}

	/**
	 * @param sampleCost
	 *            the sampleCost to set
	 */
	public void setSampleCost(BigDecimal sampleCost) {
		this.sampleCost = sampleCost;
	}

	/**
	 * @return the templateEndDate
	 */
	public Date getTemplateEndDate() {
		return templateEndDate;
	}

	/**
	 * @param templateEndDate
	 *            the templateEndDate to set
	 */
	public void setTemplateEndDate(Date templateEndDate) {
		this.templateEndDate = templateEndDate;
	}

	/**
	 * @return the makeId
	 */
	public long getMakeId() {
		return makeId;
	}

	/**
	 * @param makeId
	 *            the makeId to set
	 */
	public void setMakeId(long makeId) {
		this.makeId = makeId;
	}

	/**
	 * @return the sampleEndDate
	 */
	public Date getSampleEndDate() {
		return sampleEndDate;
	}

	/**
	 * @param sampleEndDate
	 *            the sampleEndDate to set
	 */
	public void setSampleEndDate(Date sampleEndDate) {
		this.sampleEndDate = sampleEndDate;
	}

	/**
	 * @return the samId
	 */
	public long getSamId() {
		return samId;
	}

	/**
	 * @param samId
	 *            the samId to set
	 */
	public void setSamId(long samId) {
		this.samId = samId;
	}

	/**
	 * @return the sampleMaterialCost
	 */
	public BigDecimal getSampleMaterialCost() {
		return sampleMaterialCost;
	}

	/**
	 * @param sampleMaterialCost
	 *            the sampleMaterialCost to set
	 */
	public void setSampleMaterialCost(BigDecimal sampleMaterialCost) {
		this.sampleMaterialCost = sampleMaterialCost;
	}

	/**
	 * @return the sampleMandayCost
	 */
	public BigDecimal getSampleMandayCost() {
		return sampleMandayCost;
	}

	/**
	 * @param sampleMandayCost
	 *            the sampleMandayCost to set
	 */
	public void setSampleMandayCost(BigDecimal sampleMandayCost) {
		this.sampleMandayCost = sampleMandayCost;
	}

	/**
	 * @return the sampleOtherCost
	 */
	public BigDecimal getSampleOtherCost() {
		return sampleOtherCost;
	}

	/**
	 * @param sampleOtherCost
	 *            the sampleOtherCost to set
	 */
	public void setSampleOtherCost(BigDecimal sampleOtherCost) {
		this.sampleOtherCost = sampleOtherCost;
	}

	/**
	 * @return the sampleaAtualDueDate
	 */
	public Date getSampleaAtualDueDate() {
		return sampleaAtualDueDate;
	}

	/**
	 * @param sampleaAtualDueDate
	 *            the sampleaAtualDueDate to set
	 */
	public void setSampleaAtualDueDate(Date sampleaAtualDueDate) {
		this.sampleaAtualDueDate = sampleaAtualDueDate;
	}

	/**
	 * @return the templateUserName
	 */
	public String getTemplateUserName() {
		return templateUserName;
	}

	/**
	 * @param templateUserName
	 *            the templateUserName to set
	 */
	public void setTemplateUserName(String templateUserName) {
		this.templateUserName = templateUserName;
	}

	/**
	 * @return the sampleUserName
	 */
	public String getSampleUserName() {
		return sampleUserName;
	}

	/**
	 * @param sampleUserName
	 *            the sampleUserName to set
	 */
	public void setSampleUserName(String sampleUserName) {
		this.sampleUserName = sampleUserName;
	}

	/**
	 * @return the templateStartDate
	 */
	public Date getTemplateStartDate() {
		return templateStartDate;
	}

	/**
	 * @param templateStartDate
	 *            the templateStartDate to set
	 */
	public void setTemplateStartDate(Date templateStartDate) {
		this.templateStartDate = templateStartDate;
	}

	/**
	 * @return the sampleStartDate
	 */
	public Date getSampleStartDate() {
		return sampleStartDate;
	}

	/**
	 * @param sampleStartDate
	 *            the sampleStartDate to set
	 */
	public void setSampleStartDate(Date sampleStartDate) {
		this.sampleStartDate = sampleStartDate;
	}

	/**
	 * @return the templateCostTime
	 */
	public BigDecimal getTemplateCostTime() {
		return templateCostTime;
	}

	/**
	 * @param templateCostTime
	 *            the templateCostTime to set
	 */
	public void setTemplateCostTime(BigDecimal templateCostTime) {
		this.templateCostTime = templateCostTime;
	}

	/**
	 * @return the sampleCostTime
	 */
	public BigDecimal getSampleCostTime() {
		return sampleCostTime;
	}

	/**
	 * @param sampleCostTime
	 *            the sampleCostTime to set
	 */
	public void setSampleCostTime(BigDecimal sampleCostTime) {
		this.sampleCostTime = sampleCostTime;
	}

	/**
	 * @return the templateUserList
	 */
	public List<CompanyUser> getTemplateUserList() {
		return templateUserList;
	}

	/**
	 * @param templateUserList
	 *            the templateUserList to set
	 */
	public void setTemplateUserList(List<CompanyUser> templateUserList) {
		this.templateUserList = templateUserList;
	}

	/**
	 * @return the sampleUserList
	 */
	public List<CompanyUser> getSampleUserList() {
		return sampleUserList;
	}

	/**
	 * @param sampleUserList
	 *            the sampleUserList to set
	 */
	public void setSampleUserList(List<CompanyUser> sampleUserList) {
		this.sampleUserList = sampleUserList;
	}

	/**
	 * @return the auditPhaseCd
	 */
	public String getAuditPhaseCd() {
		return auditPhaseCd;
	}

	/**
	 * @param auditPhaseCd
	 *            the auditPhaseCd to set
	 */
	public void setAuditPhaseCd(String auditPhaseCd) {
		this.auditPhaseCd = auditPhaseCd;
	}

	/**
	 * @return the sampleRemark
	 */
	public String getSampleRemark() {
		return sampleRemark;
	}

	/**
	 * @param sampleRemark
	 *            the sampleRemark to set
	 */
	public void setSampleRemark(String sampleRemark) {
		this.sampleRemark = sampleRemark;
	}

	/**
	 * @return the sampleId
	 */
	public long getSampleId() {
		return sampleId;
	}

	/**
	 * @param sampleId
	 *            the sampleId to set
	 */
	public void setSampleId(long sampleId) {
		this.sampleId = sampleId;
	}

	/**
	 * @return the sampleRequestStatus
	 */
	public String getSampleRequestStatus() {
		return sampleRequestStatus;
	}

	/**
	 * @param sampleRequestStatus
	 *            the sampleRequestStatus to set
	 */
	public void setSampleRequestStatus(String sampleRequestStatus) {
		this.sampleRequestStatus = sampleRequestStatus;
	}

	/**
	 * @return the oldSamId
	 */
	public long getOldSamId() {
		return oldSamId;
	}

	/**
	 * @param oldSamId
	 *            the oldSamId to set
	 */
	public void setOldSamId(long oldSamId) {
		this.oldSamId = oldSamId;
	}

	/**
	 * @return the styleId
	 */
	public long getStyleId() {
		return styleId;
	}

	/**
	 * @param styleId the styleId to set
	 */
	public void setStyleId(long styleId) {
		this.styleId = styleId;
	}

	/**
	 * @return the styleColor
	 */
	public String getStyleColor() {
		return styleColor;
	}

	/**
	 * @param styleColor the styleColor to set
	 */
	public void setStyleColor(String styleColor) {
		this.styleColor = styleColor;
	}

	/**
	 * @return the styleYear
	 */
	public String getStyleYear() {
		return styleYear;
	}

	/**
	 * @param styleYear the styleYear to set
	 */
	public void setStyleYear(String styleYear) {
		this.styleYear = styleYear;
	}

	/**
	 * @return the styleStyleGroupCd
	 */
	public String getStyleStyleGroupCd() {
		return styleStyleGroupCd;
	}

	/**
	 * @param styleStyleGroupCd the styleStyleGroupCd to set
	 */
	public void setStyleStyleGroupCd(String styleStyleGroupCd) {
		this.styleStyleGroupCd = styleStyleGroupCd;
	}

	/**
	 * @return the styleTemp
	 */
	public String getStyleTemp() {
		return styleTemp;
	}

	/**
	 * @param styleTemp the styleTemp to set
	 */
	public void setStyleTemp(String styleTemp) {
		this.styleTemp = styleTemp;
	}

	/**
	 * @return the styleOgnizaitonTemp
	 */
	public String getStyleOgnizaitonTemp() {
		return styleOgnizaitonTemp;
	}

	/**
	 * @param styleOgnizaitonTemp the styleOgnizaitonTemp to set
	 */
	public void setStyleOgnizaitonTemp(String styleOgnizaitonTemp) {
		this.styleOgnizaitonTemp = styleOgnizaitonTemp;
	}

	/**
	 * @return the styleRemark
	 */
	public String getStyleRemark() {
		return styleRemark;
	}

	/**
	 * @param styleRemark the styleRemark to set
	 */
	public void setStyleRemark(String styleRemark) {
		this.styleRemark = styleRemark;
	}

	/**
	 * @return the styleTempSeason
	 */
	public String getStyleTempSeason() {
		return styleTempSeason;
	}

	/**
	 * @param styleTempSeason the styleTempSeason to set
	 */
	public void setStyleTempSeason(String styleTempSeason) {
		this.styleTempSeason = styleTempSeason;
	}

	/**
	 * @return the materialLoss
	 */
	public BigDecimal getMaterialLoss() {
		return materialLoss;
	}

	/**
	 * @param materialLoss the materialLoss to set
	 */
	public void setMaterialLoss(BigDecimal materialLoss) {
		this.materialLoss = materialLoss;
	}

	/**
	 * @return the materialUnitPrice
	 */
	public BigDecimal getMaterialUnitPrice() {
		return materialUnitPrice;
	}

	/**
	 * @param materialUnitPrice the materialUnitPrice to set
	 */
	public void setMaterialUnitPrice(BigDecimal materialUnitPrice) {
		this.materialUnitPrice = materialUnitPrice;
	}
}